<template>
  <div id="app">
    <div id="nav">
      <toBu />
      <!-- 路由出口地方 -->
      <router-view />
      <diBu v-show="$route.meta.show" />
    </div>
    <!-- <router-view /> -->
  </div>
</template>

<script>
// import { component } from 'vue/types/umd'
import toBu from './components/touBu';
import diBu from './components/diBu';
export default {
  data() {
    return {};
  },
  mounted() {
    this.$store.dispatch('categoryList')

  },
  components: {
    toBu,
    diBu,
  },
};
</script>
<style lang="less"></style>
